﻿/*
	wp8libflac project
	© Alovchin, 2014
*/

using Windows.Media.Core;

namespace wp81cs.Streaming
{
    public sealed class MediaSourceFactory
    {
        /// <summary>
        /// Creates a <see cref="IMediaSource" /> corresponding to file format.
        /// </summary>
        /// <param name="filePath">File path.</param>
        public static MediaSourceAdapter Create(string filePath)
        {
            return new FlacMediaSourceAdapter(filePath);
        }
    }
}
